package com.sx.zongzhi.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XZY on 2017/12/7.
 * 重点地区排查整治
 */
public class KeyPunishBean implements Serializable{


    /**
     * page : 1
     * records : 1
     * rows : []
     * total : 1
     */

    private int page;
    private int records;
    private int total;
    private PermissionBean permission;
    private List<RowsBean> rows;

    public PermissionBean getPermission() {
        return permission;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRecords() {
        return records;
    }

    public void setRecords(int records) {
        this.records = records;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean implements Serializable{
        /**
         * createDate : 2017-12-09 14:54:17
         * createUser : 4655
         * id : B0448B9CC2C144538ED605D15000B378
         * involvedType : {"displayName":"娱乐场所","id":"0F621E731873473D82811EC6078817A0"}
         * securityKeyAreas : 23132
         * securityProblems : {"displayName":"抢劫抢夺","id":"A8393DF5BCDD45DCB78A2D46760438A0"}
         */

        private String createDate;
        private String createUser;
        private String id;
        private GlobalBean involvedType;
        private String securityKeyAreas;
        private GlobalBean securityProblems;
        private List<PhotoBean> files;

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public GlobalBean getInvolvedType() {
            return involvedType;
        }

        public void setInvolvedType(GlobalBean involvedType) {
            this.involvedType = involvedType;
        }

        public String getSecurityKeyAreas() {
            return securityKeyAreas;
        }

        public void setSecurityKeyAreas(String securityKeyAreas) {
            this.securityKeyAreas = securityKeyAreas;
        }

        public GlobalBean getSecurityProblems() {
            return securityProblems;
        }

        public void setSecurityProblems(GlobalBean securityProblems) {
            this.securityProblems = securityProblems;
        }

        public List<PhotoBean> getFiles() {
            return files;
        }

        public void setFiles(List<PhotoBean> files) {
            this.files = files;
        }

    }

    public static class PermissionBean implements Serializable{
        private boolean addSocialSecurity;
        private boolean deleteSocialSecurity;
        private boolean updateSocialSecurity;

        public boolean isAddSocialSecurity() {
            return addSocialSecurity;
        }

        public boolean isDeleteSocialSecurity() {
            return deleteSocialSecurity;
        }

        public boolean isUpdateSocialSecurity() {
            return updateSocialSecurity;
        }
    }
}
